mcp-k8s-eye
mcp-k8s-eye is a tool that can manage kubernetes cluster and analyze workload status.
Features
Core Kubernetes Operations
- [x] Connect to a Kubernetes cluster
- [x] Generic Kubernetes Resources management capabilities
- Support all navtie resources: Pod, Deployment, Service, StatefulSet, Ingress...
- Support CustomResourceDefinition resources
- Operations include: list, get, create, update, delete
- [x] Pod management capabilities (exec, logs)
- [x] Deployment management capabilities (scale)
- [x] Describe Kubernetes resources
- [ ] Explain Kubernetes resources
Diagnostics
- [x] Pod diagnostics (analyze pod status, container status, pod resource utilization)
- [x] Service diagnostics (analyze service selector configuration, not ready endpoints, events)
- [x] Deployment diagnostics (analyze available replicas)
- [x] StatefulSet diagnostics (analyze statefulset service if exists, pvc if exists, available replicas)
- [x] CronJob diagnostics (analyze cronjob schedule, starting deadline, last schedule time)
- [x] Ingress diagnostics (analyze ingress class configuration, related services, tls secrets)
- [x] NetworkPolicy diagnostics (analyze networkpolicy configuration, affected pods)
- [x] ValidatingWebhook diagnostics (analyze webhook configuration, referenced services and pods)
- [x] MutatingWebhook diagnostics (analyze webhook configuration, referenced services and pods)
- [x] Node diagnostics (analyze node conditions)
- [ ] Cluster diagnostics and troubleshooting
Monitoring
- [x] Pod, Deployment, ReplicaSet, StatefulSet, DaemonSet workload resource usage (cpu, memory)
- [ ] Node capacity, utilization (cpu, memory)
- [ ] Cluster capacity, utilization (cpu, memory)
Advanced Features
- [x] Multiple transport protocols support (Stdio, SSE)
- [x] Support multiple AI Clients
Tools Usage
Resource Operation Tools
resource_get: Get detailed resource information about a specific resource in a namespaceresource_list: List detailed resource information about all resources in a namespaceresource_create_or_update: Create or update a resource in a namespaceresource_delete: Delete a resource in a namespaceresource_describe: Describe a resource detailed information in a namespacedeployment_scale: Scale a deployment in a namespacepod_exec: Execute a command in a pod in a namespace`pod_logs: Get logs from a pod in a namespace
Diagnostics Tools
pod_analyze: Diagnose all pods in a namespacedeployment_analyze: Diagnose all deployments in a namespacestatefulset_analyze: Diagnose all statefulsets in a namespaceservice_analyze: Diagnose all services in a namespacecronjob_analyze: Diagnose all cronjobs in a namespaceingress_analyze: Diagnose all ingresses in a namespacenetworkpolicy_analyze: Diagnose all networkpolicies in a namespacevalidatingwebhook_analyze: Diagnose all validatingwebhooksmutatingwebhook_analyze: Diagnose all mutatingwebhooksnode_analyze: Diagnose all nodes in cluster
Monitoring Tools
workload_resource_usage: Get pod/deployment/replicaset/statefulset resource usage in a namepace (cpu, memory)
Requirements
- Go 1.23 or higher
- kubectl configured
Installation
# clone the repository
git clone https://github.com/wenhuwang/mcp-k8s-eye.git
cd mcp-k8s-eye
# build the binary
go build -o mcp-k8s-eye
Usage
Stdio mode
{
"mcpServers": {
"k8s eye": {
"command": "YOUR mcp-k8s-eye PATH",
"env": {
"HOME": "USER HOME DIR"
},
}
}
}
env.HOME is used to set the HOME directory for kubeconfig file.
SSE mode
- start your mcp sse server
- config your mcp server
{
"mcpServers": {
"k8s eye": {
"url": "http://localhost:8080/sse",
"env": {}
}
}
}
cursor tools

Recommend MCP Servers 💡
@cheqd/mcp-toolkit-server
A modular framework and toolkit for AI agents to interact with the Cheqd network, enabling secure management of decentralized identities (DIDs) and verifiable credentials via an MCP server.
attilad/bgg-mcp-server
An MCP server integrating with BoardGameGeek XML API to enable Claude to search games, retrieve details, and access user collections/plays
reyxgpt
An agent built on the Model Context Protocol for managing Minecraft servers via RCON, allowing execution of server commands and monitoring server and player status.
@mcpfun/mcp-server-leetcode
A Model Context Protocol (MCP) server for LeetCode that provides access to problems, user data, and contest information through GraphQL
@mcp-for-dev/mcp-google-search
Provides web search and webpage content extraction using Google Custom Search API.
greetings
The MCP server is designed to facilitate communication and operations within the Cursor environment, allowing for seamless integration and execution of tasks.